package com.ruoyi.wisdom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 年级管理对象 iot_school_grade
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class IotSchoolGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 学校ID */
    @Excel(name = "学校ID")
    private Long comId;

    /** 升级年级id */
    @Excel(name = "升级年级id")
    private Long upgradeId;

    /** 班级id集合 */
    @Excel(name = "班级id集合")
    private String classId;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String name;

    /** 升级排序 */
    @Excel(name = "升级排序")
    private Integer orderby;

    /** 是否禁用：0否1是 */
    @Excel(name = "是否禁用：0否1是")
    private Integer locked;

    /** 是否毕业 */
    @Excel(name = "是否毕业")
    private Integer isGraduation;

    /** 学部 */
    @Excel(name = "学部")
    private Long xuebu;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setUpgradeId(Long upgradeId) 
    {
        this.upgradeId = upgradeId;
    }

    public Long getUpgradeId() 
    {
        return upgradeId;
    }
    public void setClassId(String classId) 
    {
        this.classId = classId;
    }

    public String getClassId() 
    {
        return classId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrderby(Integer orderby) 
    {
        this.orderby = orderby;
    }

    public Integer getOrderby() 
    {
        return orderby;
    }
    public void setLocked(Integer locked) 
    {
        this.locked = locked;
    }

    public Integer getLocked() 
    {
        return locked;
    }
    public void setIsGraduation(Integer isGraduation) 
    {
        this.isGraduation = isGraduation;
    }

    public Integer getIsGraduation() 
    {
        return isGraduation;
    }
    public void setXuebu(Long xuebu) 
    {
        this.xuebu = xuebu;
    }

    public Long getXuebu() 
    {
        return xuebu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comId", getComId())
            .append("upgradeId", getUpgradeId())
            .append("classId", getClassId())
            .append("name", getName())
            .append("orderby", getOrderby())
            .append("locked", getLocked())
            .append("isGraduation", getIsGraduation())
            .append("xuebu", getXuebu())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
